﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Manager/Main.Master" CodeBehind="AddDealership.aspx.cs" Inherits="Agile_E.AddDealership" %>

<asp:Content id="addDealership" ContentPlaceHolderID="main1" runat="server">
<div>
<h1>Add Dealership</h1>
<br />
<table style="text-align:left">
<tr><td style="padding-right:10px">
<asp:Label id="lblname" runat="server" Text="Dealership Name:" Font-Bold="true"></asp:Label></td>
<td><asp:TextBox id="txtname" runat="server" ></asp:TextBox>
<asp:RequiredFieldValidator ID="RFVname" ControlToValidate="txtname" Text="(Required)" runat="server"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td><asp:Label id="lblowner" runat="server" Text="Owner:" Font-Bold="true"></asp:Label></td>
<td><asp:TextBox id="txtowner" runat="server" ></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtowner" Text="(Required)" runat="server"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td><asp:Label id="lblphone" runat="server" Text="Contact Phone:" Font-Bold="true"></asp:Label></td>
<td><asp:TextBox id="txtphone" runat="server" MaxLength="11"  ></asp:TextBox></td>
</tr>
<tr>
<td><asp:Label id="lbladdr" runat="server" Text="Address:" Font-Bold="true"></asp:Label></td>
<td><asp:TextBox id="txtstreet" runat="server" Width="300px" ></asp:TextBox></td>
</tr>
<tr>
<td></td>
<td><asp:Label ID="lblcity" runat="server" Text="City: "></asp:Label>&nbsp; 
<asp:TextBox ID="txtcity" runat="server" Width="142px"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="lblstate" runat="server" Text="State: "></asp:Label>&nbsp;
<asp:TextBox ID="txtstate" runat="server" MaxLength="2" Width="38px"></asp:TextBox></td></tr>
<tr><td></td>
<td><asp:Label ID="lblzip" runat="server" Text="Zip Code: "></asp:Label>&nbsp;
<asp:TextBox ID="txtZip" runat="server" MaxLength="5" Width="108px"></asp:TextBox>
</td></tr>
</table>
<br /><br />
<table>
<tr><td align="left"><asp:Label ID="lblServices" Text="Services Available:" runat="server" Font-Bold="true"></asp:Label></td></tr>
<tr><td>
<asp:TextBox ID="txtServices" runat="server" TextMode="MultiLine"
 Width="500px" Height="200px" Wrap="true"></asp:TextBox></td></tr>
<tr><td></td></tr>
<tr><td><asp:Button id="btnSave" runat="server" Text="Save" Width="55px" 
        onclick="btnSave_Click" OnClientClick="return confirm('Add this dealership?');" />
</td></tr>
</table>
<br />
</div>




</asp:Content>